/**
 * Created by zhouwei on 2017/4/14.
 */

export default {
    errCode : {
        lists: [
            {
                code:0,
                codeDes:"CodeSuccess",
                message:"成功"
            },
            {
                code:1,
                codeDes:"CodeParamInvalid",
                message:"传入参数不合法"
            },
            {
                code:2,
                codeDes:"CodeMissToken",
                message:"缺失token"
            },
            {
                code:3,
                codeDes:"CodeGenTokenFail",
                message:"生成token失败"
            },
            {
                code:4,
                codeDes:"CodeInvalidSMSCode",
                message:"无效验证码"
            },
            {
                code:5,
                codeDes:"CodeGetSTSFail",
                message:"获取百度sts失败"
            },
            {
                code:6,
                codeDes:"CodeSendSMSFail",
                message:"发送验证码失败"
            },
            {
                code:7,
                codeDes:"CodeAddProductFail",
                message:"添加农产品失败"
            },
            {
                code:8,
                codeDes:"CodeHeaderFail",
                message:"header检查失败"
            },
            {
                code:9,
                codeDes:"CodeGetDataFail",
                message:"获取后端数据失败"
            },
            {
                code:10,
                codeDes:"CodeTokenRefresh",
                message:"token刷新失败"
            },
            {
                code:11,
                codeDes:"CodeAddPurchaseRequest",
                message:"添加购买请求失败"
            },
            {
                code:12,
                codeDes:"CodeUpdatePurchaseOrderFail",
                message:"更新订单失败"
            },
            {
                code:200,
                codeDes:"CodeTokenExpire",
                message:"token过期"
            }
        ]
    }
}